* xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar;
authorJim Blandy <jimb@redhat.com>
Sat, 22 May 1993 09:13:57 +0000 (09:13 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 22 May 1993 09:13:57 +0000 (09:13 +0000)
that feature requires more support to work correctly.

src/xterm.c

index d558f394b3e625bad767f245f4a6d59b012f2702..a6b7fa4c07f7214e0293dd05afb08cd1a08d65b1 100644 (file)
@@ -2295,12 +2295,16 @@ x_scroll_bar_handle_click (bar, event, emacs_event)
       emacs_event->part = scroll_bar_handle;
     else
       emacs_event->part = scroll_bar_below_handle;
-    
+
+    /* Just because the user has clicked on the handle doesn't mean
+       they want to drag it.  */
+#if 0
     /* If the user has just clicked on the handle, record where they're
        holding it.  */
     if (event->type == ButtonPress
        && emacs_event->part == scroll_bar_handle)
       XSET (bar->dragging, Lisp_Int, y - XINT (bar->start));
+#endif
 
     /* If the user has released the handle, set it to its final position.  */
     if (event->type == ButtonRelease